home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16050 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: news.cyberport.com!usenet
  2. From: tangent@cyberport.com (Warren Young)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Standard Template Library
  5. Date: Tue, 09 Apr 1996 08:57:11 GMT
  6. Organization: none
  7. Message-ID: <316a23b3.2185883@news.cyberport.com>
  8. References: <4jpk4f$9o@newsbf02.news.aol.com>
  9. NNTP-Posting-Host: ppp5.cyberport.com
  10. X-Newsreader: Forte Agent .99d/32.182
  11.  
  12. jwoods9194@aol.com (JWoods9194) wrote:
  13.  
  14. >I am looking for a generic implementation of the current STL draft (yeah,
  15. >I know
  16. >how C++ is SUPPOSED to be universal, but we all know how that works).  I
  17. >plan on using it with the GNU C++ (for Linux) and Borland C++ 3.1
  18. >packages.
  19.  
  20. You can't do STL on BC++ 3.1 because it doesn't have templates.  You
  21. have to use at least 4.0.  Or, I guess you could get a C++ front end
  22. that generates C, but that's hunting butterflies with a sledgehammer.
  23.  
  24. As for GNU C++, you need at least 2.7.1, and I hear 2.7.2 is much
  25. better.
  26.  
  27. For more on compatibility, check out my STL-compatible compilers list
  28. at http://www.cyberport.com/~tangent/programming/stlcomp.html
  29.  
  30. >Even a pointer to the current draft standard would be appreciated...
  31.  
  32. http://www-leland.stanford.edu/~iburrell/cpp/std.html
  33.  
  34. Sections 23-25 and 27 have what you're looking for.  
  35.  
  36. Not to rain on your parade, though, but I don't think it likely that
  37. you'd be able to write your own from that information very easily.  If
  38. I were in your shoes, I'd upgrade my compiler(s) as necessary and get
  39. HP's free STL, at ftp://butler.hpl.hp.com/stl/stl.zip.  If you get
  40. Borland C++ 5.0, it comes with a version of STL, as does GNU C++ 2.7.0
  41. or so (it's part of its libg++ library).
  42.  
  43. = Warren --
  44.